ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(BOOST_CPPFLAGS) $(QT_H) $(GTKMM_H) $(NCURSES_H) $(XERCESC_CPPFLAGS)
SUBDIRS = XmlTree .
noinst_LIBRARIES = libawa.a
#libawa_a_SOURCES = jncBaseMap.cpp jncBaseMap.h jncConvFn.cpp jncConvFn.h jncDefs.h jncException.h jncExpression.cpp jncExpression.h jncFntHandlerDb.cpp jncFntHandlerDb.h jncFnWrapper.cpp jncFnWrapper.h jncGenComb.h jncInterface.cpp jncInterface.h jncPrimitives.cpp jncPrimitives.h jncTemplates.h jncTypeConversion.cpp jncTypeConversion.h jncTypeInfo.cpp jncTypeInfo.h jncValidate.cpp jncValidate.h jncParse.cpp jncParse.h jncGenComb.cpp jncGenComb.cpp abstractTree.h abstractTree.cpp
libawa_a_SOURCES = abstractTree.h abstractTree.cpp
if HAVE_NCURSES
libawa_a_SOURCES += examples/ncurses.h examples/ncurses.cpp
endif

if HAVE_GTKMM
libawa_a_SOURCES += examples/gtk.h examples/gtk.cpp
endif

if HAVE_QT
libawa_a_SOURCES += examples/qt.h examples/qt.cpp
endif

include_HEADERS = jncImportNamespace.cpp jncImportNamespace.h jncTypeConversion.h jncParse.h
bin_PROGRAMS = test
test_SOURCES = test.cpp
test_LDADD = -L. libawa.a XmlTree/libXmlTree.a $(BOOST_LDFLAGS) $(BOOST_REGEX_LIB) $(NCURSES_LIB) $(GTKMM_LIB) $(QT_LIB) $(XERCESC_LDFLAGS)

